<form method="post" action="<?php echo BASE_PATH; ?>/users/login" name="login" onsubmit="return validate_login(this)">
    <fieldset>
        <label for="username">Username:</label>
        <input type="text" name="username" id="username" /><br />

        <label for="password">Password:</label>
        <input type="password" name="password" id="password" /><br />

        <input type="submit" name="submit" id="submit" value="Login" onclick="return validate_login(login);"/>
    </fieldset>
</form>